﻿<Application
	x:Class="MVVMtutorialAdvanced.App"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:VMLocator="clr-namespace:MVVMtutorialAdvanced.VMLocator"
	xmlns:ControlsData="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"
	xmlns:RibaConverter="clr-namespace:Riba.Tools.Converter;assembly=RibaTools"
	mc:Ignorable="d"
>
	<Application.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary>
					<RibaConverter:CountryIdToImageConverter x:Key="App_CountryIdToImageConverter" />
					<VMLocator:ViewModelLocator x:Key="App_ViewModelLocator" />
					<VMLocator:ViewModelNameToViewModelConverter x:Key="App_ViewModelNameToViewModelConverter" />

					<Style x:Key="LabelStyle" TargetType="ControlsData:Label">
						<Setter Property="Width" Value="80"></Setter>
					</Style>
				</ResourceDictionary>

				<ResourceDictionary Source="Styles/StyleDictionary.xaml" />
			</ResourceDictionary.MergedDictionaries>
		</ResourceDictionary>
	</Application.Resources>
</Application>
